package com.carpark.ejb.DAO;

import com.carpark.ejb.Model.ClientsModel;
import com.carpark.ejb.Model.ServicesModel;
import java.util.Date;
import java.util.List;
import javax.ejb.Local;
import javax.ejb.Remote;

@Local
public interface ServicesDAO {

    public List<ServicesModel> getServicesAll();

    public List<ServicesModel> getServicesByModificationDate(Date modificationDate);

    public int getServicesSize();

    public List<ServicesModel> getServicesByClientId(Integer id);

    public ServicesModel getServicesByID(Integer Id);

    public void addService(ServicesModel service);

    public void updateService(ServicesModel service);

    public void removeService(ServicesModel srv);

    public void removeService(Integer id);

    public int getByModificationDateSize(Date modificationDate);

    public List<ServicesModel> getServicesByClient(ClientsModel cl);
}
